.common-modal {
    .ant-modal-content {
        padding: 0;
        .ant-modal-header {
            height: 56px;
            padding: 15px 24px;
            border-bottom: 1px solid $border-color-darker;
            margin-bottom: 0;
            .ant-modal-title {
                color: $text-color-primary;
                font-size: 18px;
                font-weight: normal;
            }
        }
        .ant-modal-body {
            padding: 24px 48px;
            max-height: 50vh;
            overflow: auto;
            overflow-x: hidden;
        }
        .ant-modal-footer {
            margin-top: 0;
            padding: 12px 16px;
            height: 56px;
        }
    }
}
/********START*********重写antd 样式，以便使用rem覆盖*********START*********/
.css-user-override {
    .ant-btn {
        font-size: 14px;
        height: 32px !important;
        padding: 0 15px !important;
        line-height: 32px;
        box-shadow: 0 2px 0 rgba(5, 145, 255, 0.1);
        border-width: 1px;
    }
    .ant-btn.ant-btn-sm {
        font-size: 14px;
        height: 24px;
        line-height: 24px;
        padding: 0px 7px;
    }
    [class^='ant-typography'],
    [class*=' ant-typography'],
    [class*='ant-'],
    [class*='ant-popover'],
    .ant-form-item .ant-form-item-label > label,
    .ant-form label,
    .ant-table-wrapper .ant-table,
    .ant-picker .ant-picker-input > input,
    .ant-breadcrumb,
    .ant-checkbox,
    input::placeholder,
    .ant-layout,
    .ant-menu {
        font-size: 14px;
    }
    .ant-layout .ant-layout-header {
        line-height: 64px;
        height: 64px;
    }
    .ant-input-affix-wrapper {
        padding: 0 11px;
        font-size: 14px;
        border-width: 1px;
    }
    .ant-input:not(textarea) {
        padding: 4px 11px;
        font-size: 14px;
        border-width: 1px;
        height: 32px;
    }
    .ant-input:hover,
    .ant-input:focus,
    .ant-input-focused {
        border-inline-end-width: 1px;
    }
    .ant-input-affix-wrapper .ant-input-suffix {
        margin-inline-start: 4px;
    }
    .ant-input-affix-wrapper .ant-input-clear-icon {
        font-size: 12px;
        vertical-align: -1px;
    }

    .ant-popover-placement-bottom,
    .ant-popover-placement-bottomRight {
        padding-top: 12px;
    }
    .ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover::after,
    .ant-menu-light.ant-menu-horizontal > .ant-menu-submenu:hover::after,
    .ant-menu-light.ant-menu-horizontal > .ant-menu-item-active::after,
    .ant-menu-light.ant-menu-horizontal > .ant-menu-submenu-active::after,
    .ant-menu-light.ant-menu-horizontal > .ant-menu-item-open::after,
    .ant-menu-light.ant-menu-horizontal
        > .ant-menu-submenu-open::after
        .ant-menu-light.ant-menu-horizontal
        > .ant-menu-item-selected::after,
    .ant-menu-light.ant-menu-horizontal > .ant-menu-submenu-selected::after {
        border-bottom-width: 2px;
        inset-inline: 16px;
    }
    .ant-input-affix-wrapper-focused {
        box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
        border-inline-end-width: 1px;
    }
    .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
        border-inline-end-width: 1px;
    }
    .ant-input-affix-wrapper .ant-input-suffix > *:not(:last-child) {
        margin-inline-end: 8px;
    }
    .ant-form-item .ant-form-item-control-input {
        min-height: 32px;
    }
    [class^='ant-col'],
    [class*='ant-col'] {
        font-size: 14px;
    }
    .ant-checkbox .ant-checkbox-inner {
        border-radius: 4px;
        border-width: 1px;
        width: 16px;
        height: 16px;
    }
    .ant-checkbox-checked:after {
        border-width: 2px;
    }
    .ant-checkbox .ant-checkbox-inner:after {
        width: 5.7142857142857135px;
        height: 9.142857142857142px;
        border-width: 2px;
        border-top: 0;
        border-inline-start: 0;
    }
    .ant-checkbox + span {
        padding-inline-start: 8px;
        padding-inline-end: 8px;
    }
    .ant-checkbox-wrapper.ant-checkbox-wrapper-in-form-item input[type='checkbox'] {
        width: 14px;
        height: 14px;
    }

    .ant-breadcrumb .ant-breadcrumb-separator {
        margin-inline: 8px;
    }
    .ant-message-notice-content {
        border-radius: 8px;
    }
    .ant-message-notice .anticon {
        margin-inline-end: 8px;
        font-size: 16px;
    }
    .ant-message-notice .ant-message-notice-content {
        padding: 9px 12px;
        border-radius: 8px;
        box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12),
            0 9px 28px 8px rgba(0, 0, 0, 0.05);
    }
    .ant-input:focus,
    .ant-input-focused {
        box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
        border-inline-end-width: 1px;
    }

    .ant-form-item
        .ant-form-item-label
        > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {
        font-size: 14px;
        margin-inline-end: 4px;
    }
    .ant-form-item .ant-form-item-label > label {
        height: 32px;
        font-size: 14px;
        // line-height: 40px;
    }
    .ant-form-item-control-input .ant-form-item-control-input-content {
        input.ant-input {
            height: 40px;
            line-height: 1;
        }
        .ant-select .ant-select-selector {
            // input.ant-select-selection-search-input {
            //     height: 40px;
            //     line-height: 1;
            // }
            height: 40px;
            line-height: 1;
        }
    }
    .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
        height: 40px;
        padding: 0 11px;
    }
    .ant-select-single.ant-select-show-arrow .ant-select-selection-item,
    .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {
        line-height: 40px;
        padding-inline-end: 18px;
    }
    .ant-picker {
        height: 40px;
    }
    // .ant-select:not(.ant-select-customize-input) .ant-select-selector {
    //     border-width: 1px;
    // }
    // .ant-select-single .ant-select-selector,
    // .ant-select-single {
    //     font-size: 14px;
    //     border-radius: 6px;
    // }
    // .ant-select .ant-select-arrow{
    //     inset-inline-end: 11px;
    //     height: 12px;
    //     margin-top: -6px;
    //     font-size: 12px;
    // }

    // .ant-select-dropdown {
    //     margin: 0;
    //     padding: 4px;
    //     border-radius: 8px;
    //     box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    // }
    .ant-select-dropdown .ant-select-item{
        min-height: 32px;
        padding: 5px 12px;
        font-size: 14px;
        border-radius: 4px;
    }
    .ant-form-item {
        margin-bottom: 24px;
    }
    .ant-form-item .ant-form-item-label {
        padding: 0 0 8px;
    }
    .ant-table-wrapper .ant-table-thead > tr > th,
    .ant-table-wrapper .ant-table-tbody > tr > td,
    .ant-table-wrapper tfoot > tr > th,
    .ant-table-wrapper tfoot > tr > td {
        padding: 16px 16px;
    }

    .login-wrapper {
        .ant-input-affix-wrapper > input.ant-input {
            font-size: 18px;
        }
    }

    //控制台
    .console-index {
        .ant-form-item-control-input .ant-form-item-control-input-content {
            input.ant-input {
                height: 32px;
                font-size: 14px;
            }
            .ant-select .ant-select-selector {
                input.ant-select-selection-search-input {
                    height: 32px;
                    line-height: 32px;
                }
                height: 32px;
            }
        }
        .ant-select-single.ant-select-show-arrow .ant-select-selection-item,
        .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {
            line-height: 32px;
        }
        .ant-picker {
            height: 32px;
        }
    }
}
/********END*********重写antd 样式，以便使用rem覆盖*********END*********/
